/*
 * @Description:: 请补充填写
 * @Version: 请配置版本号
 * @Author: xiaobai
 * @Date: 2020-08-30 07:59:10
 * @LastEditors: smallWhite
 * @LastEditTime: 2024-07-02 14:56:32
 * @FilePath: /huizhou_website_admin/src/main.js
 */
import Vue from 'vue'

import 'normalize.css/normalize.css' // A modern alternative to CSS resets

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '@/styles/index.scss' // global css
import App from './App'
import store from './store'
import router from './router'
import VeRing from 'v-charts/lib/ring.common'
import '@/icons' // icon
import '@/permission' // permission control
// 引入echarts
import { axiosPost } from './api/fetch'
import Editor from '@/components/wangeditor/wangeditor_bendi.vue'
import Editors from '@/components/wangeditor/test.vue'
import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts
// set ElementUI lang to EN
// Vue.use(ElementUI, { locale })
// 如果想要中文版 element-ui，按如下方式声明
Vue.use(ElementUI)
Vue.config.productionTip = false
Vue.prototype.$http = axiosPost
Vue.component('Editor', Editor)
Vue.component('Editors', Editors)
Vue.component(VeRing.name, VeRing)
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
